package com.biz.dao.user;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.biz.dao.common.GenericDAO;
import com.biz.dto.user.RoleDTO;
import com.biz.dto.user.UserDTO;

public interface UserDAO extends GenericDAO<UserDTO, String>{
	public UserDTO queryUserByName(String username) throws DataAccessException;
	public List<RoleDTO> queryRoleByUser(String username) throws DataAccessException;
	public List<RoleDTO> queryAllRole() throws DataAccessException;

}
